package com.rc.saas.tenant.mapper.hlht;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpen;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenPrice;
import com.rc.saas.tenant.model.hlht.HlhtTenantOpenPriceExample;
import com.rc.saas.tenant.vo.hlht.HlhtTenantOpenStationPriceVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface HlhtTenantOpenPriceMapper extends BaseMapper<Long,HlhtTenantOpenPrice, HlhtTenantOpenPriceExample> {
    List<HlhtTenantOpenPrice> selectByBatch(@Param("elecStationIdList") List<Long> elecStationIdList, @Param("hlhtTenantOpen") HlhtTenantOpen hlhtTenantOpen);

    void updateOperateAdjustValueByBatch(@Param("hlhtTenantOpenPriceList") List<HlhtTenantOpenPrice> hlhtTenantOpenPriceList,@Param("adjustValue") BigDecimal adjustValue);

    void updateHlhtTenantOpenPrice(@Param("hlhtTenantOpenStationPriceVoList") List<HlhtTenantOpenStationPriceVo> hlhtTenantOpenStationPriceVoList);

}